package com.leetcode.partition3;

import com.leetcode.common.ListNode;

/**
 * @author `RKC`
 * @date 2021/11/2 9:57
 */
public class LC237删除链表中的节点 {

    public static void deleteNode(ListNode node) {
        node.val = node.next.val;
        node.next = node.next.next;
    }
}
